package com.simple.demo.clone;

public class CloneTest {

    public static void main(String[] args) throws Exception {
        T1 t = new T1();
        t.setId("1001");
        t.setName("白茂林");
        T1 t2 = CloneUtil.clone(t);
        t2.setName("段元清");
        System.out.println(t.toString());
        System.out.println(t2.toString());
    }
}
